
package org.darcy.entity.sys;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Schema(description="SysLog: 系统操作日志")
@TableName(value = "sys_log")
@Getter
@Setter
@Builder
public class SysLog implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Schema(description="")
	@TableId(type = IdType.AUTO)
	private String id;
	
	@Schema(description="")
	@TableField(value = "`ip`")
	private String ip;
	
	@Schema(description="")
	@TableField(value = "`uid`")
	private Integer uid;
	
	@Schema(description="")
	@TableField(value = "`user_name`")
	private String userName;
	
	@Schema(description="")
	@TableField(value = "`oper_content`")
	private String operContent;
	
	@Schema(description="")
	@TableField(value = "`oper_type`")
	private String operType;
	
	@Schema(description="")
	@TableField(value = "`source`")
	private String source;
	
	@Schema(description="")
	@TableField(value = "`date`")
	private String date;
	
	@Schema(description="")
	@TableField(value = "`date_time`")
	private Date dateTime;
	
	@Schema(description="")
	@TableField(value = "`year`")
	private Integer year;
	
	@Schema(description="")
	@TableField(value = "`month`")
	private Integer month;
	
	@Schema(description="")
	@TableField(value = "`day`")
	private Integer day;
	
	@Schema(description="删除标识0:删除1：存在")
	@TableField(value = "`del_flag`")
	private Integer delFlag;

}
